﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.OracleClient;

namespace Userinterface_Ver._1_
{
    public partial class frmMain : DevComponents.DotNetBar.Office2007RibbonForm
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void frmMain_Load(object sender, EventArgs e)
        {

        }

        private void btnThongTin_Click(object sender, EventArgs e)
        {
            frmLayThongTinDV ttdv = new frmLayThongTinDV();
            ttdv.ShowDialog();
        }

        private void btnPhanQuyen_Click(object sender, EventArgs e)
        {
            frmPhanQuyen PQ = new frmPhanQuyen();
            PQ.MdiParent = this;
            PQ.Show();
        }

        private void btnDoiMatKhau_Click(object sender, EventArgs e)
        {
            frmDoiMK dmk = new frmDoiMK();
            dmk.Show();
        }

        private void btnKhachHang_Click(object sender, EventArgs e)
        {
            frmKhachHang KH = new frmKhachHang();
            KH.MdiParent = this;
            KH.Show();
        }

        private void btnNhaCC_Click(object sender, EventArgs e)
        {
            frmNhaCungCap NCC = new frmNhaCungCap();
            NCC.MdiParent = this;
            NCC.Show();
        }

        private void btnLoaiHang_Click(object sender, EventArgs e)
        {
            frmLoaiHang LH = new frmLoaiHang();
            LH.MdiParent = this;
            LH.Show();
        }

        private void btnHangHoa_Click(object sender, EventArgs e)
        {
            frmHangHoa HH = new frmHangHoa();
            HH.MdiParent = this;
            HH.Show();
        }

        private void btnDonVT_Click(object sender, EventArgs e)
        {
            frmDVT DVT = new frmDVT();
            DVT.MdiParent = this;
            DVT.Show();
        }

        private void btnBP_Click(object sender, EventArgs e)
        {
            frmBoPhan BP = new frmBoPhan();
            BP.MdiParent = this;
            BP.Show();
        }

        private void btnNV_Click(object sender, EventArgs e)
        {
            frmNhanVien NV = new frmNhanVien();
            NV.MdiParent = this;
            NV.Show();
        }

        private void btnNhapKho_Click(object sender, EventArgs e)
        {
            frmNhapKho NK = new frmNhapKho();
            NK.MdiParent = this;
            NK.Show();
        }

        private void btnXuatKho_Click(object sender, EventArgs e)
        {
            frmXuatKho XK = new frmXuatKho();
            XK.MdiParent = this;
            XK.Show();
        }

        private void btnBC_Click(object sender, EventArgs e)
        {
            frmBaoCao BC = new frmBaoCao();
            BC.MdiParent = this;
            BC.Show();
        }

        private void ribbonControl1_Click(object sender, EventArgs e)
        {

        }

        private void btnKetThuc_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        //private void buttonX1_Click(object sender, EventArgs e)
        //{
        //    frmXuatKho BC = new frmXuatKho();
        //    BC.MdiParent = this;
        //    BC.Show();
        //}
    }
}
